package org.lee.basic.exts;

/**
 * @author jackielee
 * @version 1.0
 * @description DoDemo
 * @date 2021/4/19
 */
public class DoDemo implements IDo {
  @Override
  public int getDay() {
    return Num + 30;
  }

  public static void main(String[] args) {
    DoDemo dd = new DoDemo();
    System.out.println(dd.getYear() + ":" + dd.getDay());
    int[] a = new int[] {1, 2, 3};
    //    throw new InstantiationError("x");
    //    a[4] = 5;
    //    Collection
    //
    // NullPointerException;ArrayIndexOutOfBoundsException;NumberFormatException;IllegalArgumentException;InstantiationError;ArithmeticException
    //    PreparedStatement ps;ps.
    //    CallableStatement c;

    // File, FileInputStream, FileOutputStream, BufferedInputStream,
    // BufferedOutputStream,PrintWriter,FileReader,FileWriter,BufferedReader,BufferedWriter,ObjectInputStream,ObjectOutputStream
  }

  @Override
  protected void finalize() throws Throwable {
    super.finalize();
    System.out.println("good byte!the object.");
  }
}
